package com.dream21th.flow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;

import java.io.Serializable;

/**
* @Desprition TODO
* @author dream21th
* @since 2020-12-02 14:40:40
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
@TableName("act_hi_comment")
public class ActHiComment extends Model<ActHiComment>  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID_", type = IdType.INPUT)
    private String id;

    @TableField(value = "TYPE_")
    private String type;

    @TableField(value = "TIME_")
    private String time;

    @TableField(value = "USER_ID_")
    private String userId;

    @TableField(value = "TASK_ID_")
    private String taskId;

    @TableField(value = "PROC_INST_ID_")
    private String procInstId;

    @TableField(value = "ACTION_")
    private String action;

    @TableField(value = "MESSAGE_")
    private String message;

    @TableField(value = "FULL_MSG_")
    private String fullMsg;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
